<?php

include_once($mcrp . 'functions/contests.php');

$lastc = GetLastContests(4);
foreach($lastc as $c)
{
?>
	<div class="mc_boxactu">
		<h4><a href="<?php echo MC_ROOT . 'contests.php?id=' . $c['cat']->id; ?>"><?php echo stripslashes($c['cat']->title); ?></a></h4>
		<div class="mc_boxactu_content"><a href="<?php echo MC_ROOT . 'contest.php?id=' . $c['con']->id; ?>"><?php echo stripslashes($c['con']->title) . ' (' . $c['con']->id . ')'; ?></a></div>
	</div>
<?php
}

?>